class DoAssert:
    @classmethod
    def assert_is_expect(cls, req_obj, expect):
        response = req_obj.run()
        for exp_key, exp_val in expect.items():
            try:
                assert response[exp_key] == exp_val
                return 1
            except AssertionError:
                return 0
